package com.xdf.whiteaccount.service;

import com.xdf.whiteaccount.enums.BillCodeResetEnum;
import com.xdf.whiteaccount.entity.BillCode;

public interface BillCodeService {
    int deleteByPrimaryKey(Integer iid);

    int insertSelective(BillCode record);

    BillCode selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(BillCode record);

    BillCode selectBySid(String sid);

    Boolean isExists(String sid);

    String getNewBillCode(String sid);
    String getNewBillCode(String sid, BillCodeResetEnum resetEnum);

    BillCode increaseSeq(BillCode record);
}
